import 'package:fish_redux/fish_redux.dart';

//TODO replace with your own action
enum MyHomeAction { action, windowSizeChange,offsetSizeUpdate }

class MyHomeActionCreator {
  static Action onAction() {
    return Action(MyHomeAction.action);
  }

  static Action onWindowSizeChange() {
    return Action(MyHomeAction.windowSizeChange);
  }
  static Action offsetSizeUpdate(double offset) {
    return Action(MyHomeAction.offsetSizeUpdate,payload: offset);
  }

}
